package com.ygs.secs.model;

import java.io.Serializable;

/**
 * 专业
 */
public class Profession implements Serializable {
    //专业编号
    private Integer professionid;

    //专业名称
    private String professionname;

    private static final long serialVersionUID = 1L;

    public Integer getProfessionid() {
        return professionid;
    }

    public void setProfessionid(Integer professionid) {
        this.professionid = professionid;
    }

    public String getProfessionname() {
        return professionname;
    }

    public void setProfessionname(String professionname) {
        this.professionname = professionname;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", professionid=").append(professionid);
        sb.append(", professionname=").append(professionname);
        sb.append("]");
        return sb.toString();
    }
}